/* 合同管理接口相关interface */

// 修改合同编号
export interface PostContractCodeInfo {
  name: string;
  sort: number;
  type: number;
  beMoved?: boolean;
  value: string;
}

/* ---------------------------------------------------------------------------------------------------------*/

// 添加 合同类型 控件
export interface PostContractSettingItem {
  name?: string;
  type: number;
  setName: string;
}

/* ---------------------------------------------------------------------------------------------------------*/

// 新增 合同模板
export interface PostContractTemplate {
  ctemp_amount_viwe: string;
  ctemp_approve_check: number;
  ctemp_approve_id: number;
  ctemp_approve_type: number;
  ctemp_approver: string;
  ctemp_des: string;
  ctemp_design_id: number;
  ctemp_logo: string;
  ctemp_name: string;
  ctemp_scope: string;
  ctemp_status: number;
  ctemp_typeid: number;
  ctemp_typeid_parent: number;
  is_upload_print: number;
  user_id: number;
}

// 修改 合同模板
export interface PutContractTemplate {
  ctemp_amount_viwe: string;
  ctemp_approve_check: number;
  ctemp_approve_id: number;
  ctemp_approve_type: number;
  ctemp_approver: string;
  ctemp_des: string;
  ctemp_design_id: number;
  ctemp_logo: string;
  ctemp_name: string;
  ctemp_scope: string;
  ctemp_status: number;
  ctemp_typeid: number;
  ctemp_typeid_parent: number;
  id: number;
  is_upload_print: number;
  user_id: number;
}

/* ---------------------------------------------------------------------------------------------------------*/

// 获取 电子签章数据
export interface postElectronicseal {
  pageSize: number;
  pageIndex: number;
  name?: string;
  status?: number;
  startDate?: number;
  endDate?: number;
}

// 修改印章
export interface putElectronicseal {
  id?: number;
  name?: string;
  enable?: number;
  user?: number;
}

// 新增电子签单
export interface addElectronicseal {
  name?: string;
  pic_addr: string;
  user: string;
  shape: string;
  size: string;
  type: string;
}

export interface GetHisCount {
  seal_id: number;
  startDate?: string;
  endDate?: string;
}

export interface GetHispage {
  seal_id: number;
  pageIndex: string;
  pageSize: string;
}

export interface GetUserBy {
  id: number;
}
